package com.yc.music.receiver;

import ohos.event.commonevent.CommonEventData;
import ohos.event.commonevent.CommonEventSubscribeInfo;
import ohos.event.commonevent.CommonEventSubscriber;

/**
 * 来电/耳机拔出时暂停播放
 * 其实这个跟通知处理逻辑一样
 *
 * @since 2021-05-10
 */
public class AudioEarPhoneReceiver extends CommonEventSubscriber {
    /**
     * 构造函数
     *
     * @param subscribeInfo subscribeInfo
     */
    public AudioEarPhoneReceiver(CommonEventSubscribeInfo subscribeInfo) {
        super(subscribeInfo);
    }

    @Override
    public void onReceiveEvent(CommonEventData commonEventData) {
    }
}
